﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Sharp.Portal.ExtNet;
using Sharp.Portal.Mvc.Form;

namespace Sharp.WebBooter.Areas.Platform.Models
{
    public class MasterDataCategoryViewModel : ISharpForm
    {
        public MasterDataCategoryViewModel()
        {
            UI = new ExtSharpFrom(this);
        }
        [HiddenInput]
        public int Id { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        [Display(Name = "名称")]
        public string Name { get; set; }
        /// <summary>
        /// 编码
        /// </summary>
        [Display(Name = "编码")]
        public string Code { get; set; }

        public SharpFrom UI { get; set; }
    }
}